import React from 'react'
import {useRoutes,BrowserRouter} from "react-router-dom"
import { router } from './router'
import UseToken from './hooks/UseToken'
function App() {
  const EL=()=>useRoutes(router)
  return (
    <BrowserRouter>
    <UseToken>
      <EL/>
    </UseToken>
      
    </BrowserRouter>
  )
}

export default App
